SmartCrawl\Woocommerce\Controller A

Total Complexity 53
Dependencies 8
Dependents 1
Total lines 299
Lines of code 216
Logical lines of code 100
Comment lines 38
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
display_notice()
S
46 5 46
ignore_hidden_products()
S
50 5 30
add_rules_to_robots_txt()
S
54 5 21
should_run()
S
68 5 6
remove_woocommerce_product_schema()
S
59 4 14
maybe_invalidate_sitemap_cache()
S
62 4 11
get_brand()
S
63 4 10
add_brand_to_woocommerce_schema()
S
61 3 12
get_request_data()
S
76 3 3
change_woo_status()
S
62 2 11
is_schema_disabled()
S
74 2 4
include_woocommerce_roles()
S
70 2 6
remove_generator_tag()
S
66 2 8
remove_hidden_products_from_sitemap()
S
68 2 7
get_options()
S
81 1 3
woo_module_enabled()
S
78 1 3
init()
S
66 1 8
always()
S
64 1 9
__construct()
S
76 1 4